#include <stdio.h>
int main(void)
{
    char ch;
    int count = 0;

    while ((ch = getchar()) != EOF)
        count++;
    printf("字符数：%d\n", count);

    return 0;
}